﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Adams.Web.Controllers
{
    public static class MobileCheck
    {
        public static bool IsMobile()
        {
            if (HttpContext.Current.Items["IsMobile"] == null)
            {
                return false;
            }
            else
            {
                return (bool)HttpContext.Current.Items["IsMobile"];
            }
        }
    }
}